package cn.claim.storage.tools;

/**
 * Created by claim on 17-7-13.
 */
public final class FileInfoData implements JSONParsable {
    private final String fileName;
    private final String uuid;
    private final String md5;
    private final String serverName;
    private final String backupServerName;
    private final long length;

    FileInfoData(String fileName, String uuid, String md5, String serverName, String backupServerName, long length) {
        this.fileName = fileName;
        this.uuid = uuid;
        this.md5 = md5;
        this.serverName = serverName;
        this.backupServerName = backupServerName;
        this.length = length;
    }


    public String getFileName() {
        return fileName;
    }

    public String getUuid() {
        return uuid;
    }

    public String getMd5() {
        return md5;
    }

    public String getServerName() {
        return serverName;
    }

    public String getBackupServerName() {
        return backupServerName;
    }

    public long getLength() {
        return length;
    }
}
